﻿@using FFF.Test.Entity.FW.View;
@using Microsoft.AspNetCore.Http;
@{
    ViewData["Title"] = "微信用户表创建界面";
    Layout = null;
    ViewFWUser currentUserInfo = base.Context.Session.GetUserInfo();
}
 <input type="hidden" id="uuid" name="id">


<div data-toggle="topjui-layout" data-options="fit:true">
    <div data-options="region:'center',title:'',fit:true,border:false,bodyCls:'border_right_bottom'">
        <div data-toggle="topjui-tabs" data-options="fit:true,border:false">
            <div title="@L("基本信息")" data-options="iconCls:'fa fa-th'">
                <div class="topjui-fluid">
                    <fieldset>
                        <legend>@L("基本信息")</legend>
                    </fieldset>
                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户是否订阅该公众号标识")</label>
                            <div class="topjui-input-block">
                                <input id="myFormSubscribe" type="text" name="subscribe" data-toggle="topjui-numberbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户的标识，对当前公众号唯一")</label>
                            <div class="topjui-input-block">
                                <input id="myFormOpenid" type="text" name="openid" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户的昵称")</label>
                            <div class="topjui-input-block">
                                <input id="myFormNickName" type="text" name="nickName" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户的性别，值为1时是男性，值为2时是女性，值为0时是未知")</label>
                            <div class="topjui-input-block">
                                <input id="myFormSex" type="text" name="sex" data-toggle="topjui-numberbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户的语言，简体中文为zh_CN")</label>
                            <div class="topjui-input-block">
                                <input id="myFormLanguage" type="text" name="language" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户所在城市")</label>
                            <div class="topjui-input-block">
                                <input id="myFormCity" type="text" name="city" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户所在省份")</label>
                            <div class="topjui-input-block">
                                <input id="myFormProvince" type="text" name="province" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户所在国家")</label>
                            <div class="topjui-input-block">
                                <input id="myFormCountry" type="text" name="country" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户头像，最后一个数值代表正方形头像大小（有0、46、64、96、132数值可选，0代表640*640正方形头像），用户没有头像时该项为空。若用户更换头像，原有头像URL将失效")</label>
                            <div class="topjui-input-block">
                                <input id="myFormHeadImgurl" type="text" name="headImgurl" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户关注时间，为时间戳。如果用户曾多次关注，则取最后关注时间")</label>
                            <div class="topjui-input-block">
                                <input id="myFormSubscribe_time" type="text" name="subscribeTime" data-toggle="topjui-numberbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("只有在用户将公众号绑定到微信开放平台帐号后，才会出现该字段。")</label>
                            <div class="topjui-input-block">
                                <input id="myFormUnionid" type="text" name="unionid" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("公众号运营者对粉丝的备注，公众号运营者可在微信公众平台用户管理界面对粉丝添加备注")</label>
                            <div class="topjui-input-block">
                                <input id="myFormRemark" type="text" name="remark" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户所在的分组ID（兼容旧的用户分组接口）")</label>
                            <div class="topjui-input-block">
                                <input id="myFormGroupid" type="text" name="groupid" data-toggle="topjui-numberbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("用户标签;分割")</label>
                            <div class="topjui-input-block">
                                <input id="myFormTagid_Lists" type="text" name="tagidLists" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("返回用户关注的渠道来源，ADD_SCENE_SEARCH 公众号搜索，ADD_SCENE_ACCOUNT_MIGRATION 公众号迁移，ADD_SCENE_PROFILE_CARD 名片分享，ADD_SCENE_QR_CODE 扫描二维码，ADD_SCENEPROFILE LINK 图文页内名称点击，ADD_SCENE_PROFILE_ITEM 图文页右上角菜单，ADD_SCENE_PAID 支付后关注，ADD_SCENE_OTHERS 其他")</label>
                            <div class="topjui-input-block">
                                <input id="myFormSubscribe_Scene" type="text" name="subscribeScene" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("二维码扫码场景（开发者自定义）")</label>
                            <div class="topjui-input-block">
                                <input id="myFormQr_Scene" type="text" name="qrScene" data-toggle="topjui-numberbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("二维码扫码场景描述（开发者自定义）")</label>
                            <div class="topjui-input-block">
                                <input id="myFormQr_Scene_Str" type="text" name="qrSceneStr" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("微信的的APPID")</label>
                            <div class="topjui-input-block">
                                <input id="myFormWeixinAppId" type="text" name="weixinAppId" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

             
                </div>
            </div>
            @if (!string.IsNullOrEmpty(base.Context.Request.Query["uuid"]))
            {
                 @*<div title="@L("Iframe展示")" data-options="iconCls:'fa fa-th',border:true,iframe:true,disabled:false,
                        content:'<iframe src=\'/WX/ProTaskDelay/ProTaskDelayIndex?userInfoGUID=@(base.Context.Request.Query["uuid"])&&mode=@(base.Context.Request.Query["mode"])\' scrolling=\'auto\' frameborder=\'0\' style=\'width:100%;height:96%;\'></iframe>'">
                </div>*@
            }
            @*<div title="@L("选填信息")" data-options="iconCls:'fa fa-th'">
                    <div class="topjui-fluid">
                        <fieldset>
                            <legend>@L("扩展信息")</legend>
                        </fieldset>
                    </div>
                </div>*@
        </div>
    </div>
</div>

